package com.qfoud.edu.framwork.stragy.impl;

import com.qfoud.edu.framwork.pojo.BeanParameterDefinition;
import com.qfoud.edu.framwork.pojo.Model;
import com.qfoud.edu.framwork.stragy.base.ParameterTypeStragy;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author xiaobobo
 * @title: HttpServletResponseStray
 * @projectName cd-java-2303-project-parent
 * @description: TODO
 * @date 2023/5/10  15:28
 */
public class HttpServletResponseStray implements ParameterTypeStragy {
    @Override
    public void run(Model model,HttpServletResponse resp, BeanParameterDefinition beanParameterDefinition, HttpServletRequest req, int index, String parameterType, String parameterName, Object... args) {
        //说明需要的参数是response
        args[index]=resp;
    }
}
